/**
 * @author 이두영
 */
package net.uzen.office.board.service;

import java.util.List;
import java.util.Map;

import net.uzen.office.board.dao.BoardDao;
import net.uzen.office.board.model.Board;

public class BoardServiceImpl implements BoardService {

	private BoardDao boardDao;

	public void setBoardDao(BoardDao boardDao) {
		this.boardDao = boardDao;
	}

	@Override
	public List<Board> getBoardList(Map<String, Object> requestMap) {
		return boardDao.getBoardList(requestMap);
	}

	@Override
	public int createBoard(Board board) {
		return boardDao.createBoard(board);
	}

	@Override
	public boolean modifyBoard(Board board) {
		return boardDao.modifyBoard(board);
	}

	@Override
	public Board getBoard(Board board) {
		return boardDao.getBoard(board);
	}

	@Override
	public boolean deleteBoard(int boardNo) {
		return boardDao.deleteBoard(boardNo);
	}
}
